x86/mm: clean use of p2m unlocked queries
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 26 Jan 2012 13:21:27 +0000 (13:21 +0000)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 26 Jan 2012 13:21:27 +0000 (13:21 +0000)
commitbe1ff5e8f0f71f0927ec2681ec7f51ac2efe50d9
tree2471304b8998d8daca6ac50fd5bcfc7564d06378
parent91279d9f230d7314e212a0e3aa0cee874edb6a3d
x86/mm: clean use of p2m unlocked queries

Limit such queries only to p2m_query types. This is more compatible
with the name and intended semantics: perform only a lookup, and explicitly
in an unlocked way.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/mem_sharing.c